package com.du.service;

import com.du.domain.Student;

import java.util.List;

public interface StudentService {
    //查询全部
    List<Student> findAll();

    //根据number查询学生
    Student findStudentByNumber(String number);

    //增加学生
    void addStudent(Student student);
    //修改学生
    void updateStudent(Student student);
    //删除学生
    void deleteStudent(String number);
}
